package com.dingreading.cloud.soms.service.impl;

import com.dingreading.cloud.soms.entity.table.MstAgencyStaffTableDef;
import com.dingreading.cloud.soms.entity.MstAgencyStaff;
import com.dingreading.cloud.soms.mapper.MstAgencyStaffMapper;
import com.dingreading.cloud.soms.service.MstAgencyStaffService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 学科管理表 服务层实现。
 *
 * @author Administrator
 * @since 2025-11-03
 */
@Service
public class MstAgencyStaffServiceImpl extends BaseServiceImpl<MstAgencyStaffMapper, MstAgencyStaff, MstAgencyStaffTableDef> implements MstAgencyStaffService {

    @Override
    protected MstAgencyStaffTableDef getTable() {
        return MstAgencyStaffTableDef.mstAgencyStaff;
    }

    @Override
    public List<MstAgencyStaff> listByStoreUid(String mstStoreUid) {
        return getMapper().selectListByCondition(table.storeUid.eq(mstStoreUid));
    }
}
